<app-header title="激活矿机">
</app-header>

<ion-content>

  <div class="w96">
    <div class="h_title">
      <span class="s_span">请按提示信息转币</span>
    </div>
    <div>
    <div class="paymoney">
      <ul class="pool_bg activefil_li">
        <li>
          <p>转入数量：</p>
          <span *ngIf="fileinfo">{{fileinfo.filCost}}个Fil + 实时手续费 = 总计转入</span>
        </li>
        <li>
          <p>接受地址：</p><span *ngIf="fileinfo">{{fileinfo.toAddress}}</span>
          <input type="text" #copy [value]="fileadd" disabled style="display: none;">
        </li>
        <li class="noflex"><span (click)="onCopy()">复制地址</span></li>
        
      </ul>

      <div class="h_title">
        <span class="s_span">上传凭证</span>
      </div>

       <ul class="pool_bg activefil_li2">
        <li>
          <p>转出地址：</p><input type="text" placeholder="请输入您的钱包地址" [(ngModel)]="address">
        </li>
        <li>
          <p>转入数量：</p><input type="number" placeholder="请输入数量" [(ngModel)]="num" (blur)="onblur()">
        </li>
        
        <li class="uplodes">
          <p style="width: 100%;">上传充值凭证：<span style="color: #ccc;font-size: 1.2rem;"> (限3张) </span></p>
          <div (click)="changePhoto($event)">
            <input type="file" #avatarInput (change)="changefile($event)" accept="image/png, image/jpeg" style="display:none" />
            <img src="assets/updown.png" alt="" *ngIf="flag" /> 
              <div *ngFor="let item of filearr">
                <img [src]="item" alt="" />
              </div>
          </div>
        </li>

      </ul>
    </div>
    <p class="redtip"> 1、每T存储矿机激活需15个FIL，10个质押+5个GAS+实时手续费。</p>
      <p class="redtip"> 2、每T存储以GAS和质押充入时间为标准，第十一个工作日产生收益。</p>
      <p class="redtip"> 3、每T存储产币量达到1个FIL可提币(T+1到账)。</p>
      <p class="redtip"> 4、如有任何疑问请联系推荐人。</p>  
    <button class="button buttons" (click)="confirm()">提交激活</button>

  </div>
</div>

<app-lodding [falg]='show'></app-lodding>
</ion-content>
